* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  -webkit-touch-callout: none;
}

html {
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  line-height: 1.4;
  font-family: $fontDefault;
  background-color: $colorBg;
  -webkit-overflow-scrolling: touch;
}

html,
body {
  height: 100%;
}

img {
  display: inline-block;
  vertical-align: middle;
  // width: 100%;
}

a img {
  border: 0;
}

a,
input,
textarea,
select,
button {
  outline: none;
}

a {
  text-decoration: none;
}

ol,
ul,
li {
  margin: 0;
  padding: 0;
  list-style: none;
}

.clearfix:after {
  content: '.';
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
  font-size: 0;
}

.clearfix {
  display: block;
}

::-webkit-input-placeholder {
  /* WebKit browsers */
  color: $colorPlaceholder;
}

:-moz-placeholder {
  /* Mozilla Firefox 4 to 18 */
  color: $colorPlaceholder;
  opacity: 1;
}

::-moz-placeholder {
  /* Mozilla Firefox 19+ */
  color: $colorPlaceholder;
  opacity: 1;
}

:-ms-input-placeholder {
  /* Internet Explorer 10+ */
  color: $colorPlaceholder;
}

.safe-area__block {
  padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
  padding: constant(safe-area-inset-top) constant(safe-area-inset-right) constant(safe-area-inset-bottom) constant(safe-area-inset-left);
}
